/*
* @Date: 2021/1/23
* @Author: XueChengwu <xuechengwu@erayt.com>
* @Copyright: 2015-2019 Erayt, Inc.
* @Description: If you have some questions, please contact: xuechengwu@erayt.com.
*/

export default {
  display: 'inline-block',
  props: [{
    key: 'dataSource',
    type: 'array',
    label: '数据源',
  }, {
    key: 'disabled',
    type: 'boolean',
    label: '禁用',
  }, {
    key: 'filterOption',
    type: 'function',
    function: '(inputValue, option)',
    label: '筛选函数',
  }, {
    key: 'footer',
    type: 'function',
    function: '(props)',
    label: '底部渲染函数',
  }, {
    key: 'oneWay',
    type: 'boolean',
    label: '单向样式',
  }, {
    key: 'pagination',
    type: 'boolean',
    label: '分页',
  }, {
    key: 'selectKeys',
    type: 'array',
    label: '选中项',
  }, {
    key: 'showSearch',
    type: 'boolean',
    label: '搜索框'
  }, {
    key: 'showSelectAll',
    type: 'boolean',
    label: '全选框'
  }, {
    key: 'targetKeys',
    type: 'array',
    label: '右侧集合',
  }, {
    key: 'titles',
    type: 'array',
    label: '标题集合',
  }, {
    key: 'onChange',
    type: 'function',
    function: '(targetKeys, direction, moveKeys)',
    label: '变化回调',
  }, {
    key: 'onScroll',
    type: 'function',
    function: '(direction, event)',
    label: '滚动回调',
  }, {
    key: 'onSearch',
    type: 'function',
    function: '(direction, value)',
    label: '选中回调',
  }, {
    key: 'onSelectChange',
    type: 'function',
    function: '(sourceSelectedKeys, targetSelectedKeys)',
    label: '选中回调',
  }]
}
